package com.cxs.mapper;

import com.cxs.bo.UserBO;
import com.cxs.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lenovo
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-10-20 16:51:05
* @Entity com.cxs.domain.User
*/
public interface UserMapper {

    List<User> selectAll();

    List<UserBO> selectAllUserAndAvatar();

    Integer selectUserCount();

    List<UserBO> selectAllUserAndAvatarPage(@Param("startRow") Integer startRow,
                                            @Param("pageSize") Integer pageSize);

    List<UserBO> selectAllUserAndAvatarPage2();
}




